package com.bxd.baodan.mvp.login;

import com.bxd.baodan.mvp.base.BasePresenter;
import com.bxd.baodan.mvp.base.IView;

/**
 * Created by Administrator on 2017/5/23.
 */

public interface LoginContract {
     interface View extends IView {
         String getPhone();
         String getPassWord();

         int getIsVcode();

         String getVcode();



         void askSuccess(String result);

         void setError(String errorString);

         void identifyCode(String result);

         void toast(String str);
     }

    abstract class Presenter extends BasePresenter<View> {

        public abstract void startLogin();
        public abstract void submitQuestion();
        public abstract void checkSubmit();
        public abstract void attemptIdentifyCode();
    }
}
